package com.woniuxy.enjoylife.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
//动态评论表
public class RecentComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //动态id
    private Integer rid;
    //评论者id
    private Integer uid;
    //评论时间
    private LocalDateTime time;
    //评论内容
    private String content;
    //最后一个评论人的id
    private Integer last_id;
    //是否删除  0：未删除   1：已删除
    private Integer status;


}
